<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
    	
    	$name = "joysmith";
    	$login_time = time();
    	$date['name'] = $name;
    	$name['time'] = $login_time;
    	$this->assign('data',$data);
        $this->display();
    }
}